/* Reset some basic styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Set body font and background */
body {
  font-family: 'Roboto', sans-serif;
  background-color: #f4f4f4;
  color: #333;
  line-height: 1.6;
}

/* Container for the main content */
.box {
  margin: 20px auto;
  max-width: 1200px;
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Title and headings */
#title-banner {
  text-align: center;
  margin-bottom: 20px;
}

#title-heading {
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
  color: #4CAF50;
  margin: 0;
}

/* Button styles */
.button-class {
  background-color: #4CAF50;
  color: #fff;
  border: none;
  padding: 12px 24px;
  font-size: 1rem;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.button-class:hover {
  background-color: #45a049;
}

.input-fields {
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  width: 100%;
  margin-bottom: 15px;
}

#new-game-button, #join-game-button {
  width: 48%;
  margin: 10px 1%;
}

/* Center Menu */
#center-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

#center-menu-buttons {
  width: 80%;
}

h3, h2 {
  color: #333;
  margin-bottom: 10px;
}

h1 {
  color: #4CAF50;
}

/* Navigation menu */
nav {
  background-color: #333;
  padding: 10px 0;
}

#menuToggle input {
  display: none;
}

#menuToggle span {
  display: block;
  width: 30px;
  height: 3px;
  margin: 5px;
  background-color: white;
  transition: all 0.3s ease;
}

#menuToggle input:checked + span {
  background-color: #ff6f61;
  transform: rotate(45deg);
}

#menuToggle input:checked + span:nth-child(2) {
  opacity: 0;
}

#menuToggle input:checked + span:nth-child(3) {
  transform: rotate(-45deg);
}

#menu {
  display: none;
  list-style: none;
  margin-top: 10px;
}

#menuToggle input:checked ~ #menu {
  display: block;
}

#menu li {
  padding: 10px;
  text-align: center;
}

#menu li:hover {
  background-color: #4CAF50;
}

/* Lobby page */
#lobby-content {
  display: none;
}

#players {
  list-style-type: none;
  margin-bottom: 20px;
}

.player-list-class {
  margin-top: 20px;
  padding: 0;
  list-style-type: none;
}

.player-list-class li {
  font-size: 1.2rem;
  margin: 5px 0;
}

#start-game-button {
  margin-top: 20px;
  background-color: #ff6f61;
}

/* Game page styles */
#game-page, #play-page, #reveal-item-page, #questions-page, #voting-page, #scores-page {
  display: none;
}

/* Footer */
#footer-content {
  text-align: center;
  padding: 20px;
  background-color: #333;
  color: #fff;
  border-radius: 10px;
}

#footer-content h3 {
  margin-bottom: 5px;
}

#footer-content p {
  font-size: 0.9rem;
}

/* Hide unnecessary content */
#fill-space {
  display: none;
}

/* Responsive design */
@media (max-width: 768px) {
  #menuToggle input:checked ~ #menu {
      display: block;
  }

  .box {
      padding: 15px;
  }

  #center-menu-buttons {
      width: 100%;
  }

  #new-game-button, #join-game-button {
      width: 100%;
      margin: 10px 0;
  }

  .input-fields {
      width: 100%;
  }
}
